var app = getApp();
const requireHttps = app.globalData.requireHttps //获取require域名
Page({
  data: {
    propertyList:[]
  },
  onLoad: function() {
    let _this = this;
    _this.successAudit()
  },
  successAudit: function() {
    let _this = this
    wx.request({
      url: '' + requireHttps + '/api/member/getPropertyInfo',
      data: {
        token: app.globalData.token
      },
      method: 'post',
      success: res => {
        console.log(res)
        _this.setData({
          // propertyList: res.data.data
          propertyName: res.data.data.g_property,
          propertyPark: res.data.data.usable_parking,
        })
      },
      fail: error => {
        console.log(error)
      }
    })
  }
})